extends ../../layout/layout

block content
  .content-wrapper
    .search-condition
      form#form-search
        .form-inline
          .form-group
            label.marginR10 城市：
              select.form-control.form-width100(name="city_id")
          .form-group
            label.marginR10 用车类型：
              select.form-control.form-width100(name="auto_type")
          //- .form-group
            label.marginR10 记录状态：
              select.form-control.form-width100(name="status")
          .form-group
            button.pull-right.btn.btn-default#btn-search(type="button")
              i.fa.fa-search
              span 查询
    .com-op.marginT10
      button.btn.btn-default.marginR10#btn-add(type="button")
        i.fa.fa-plus
        span 新增
      button.btn.btn-default.marginR10#btn-edit(type="button")
        //- i.fa.fa-edit
        span 修改
      button.btn.btn-default.marginR10#btn-del(type="button")
        //- i.fa.fa-edit
        span 删除
      //- button.btn.btn-default.marginR10#btn-startUp(type="button")
      //-   //- i.fa.fa-?
      //-   span 启用
      //- button.btn.btn-default.marginR10#btn-ban(type="button")
      //-   //- i.fa.fa-?
      //-   span 禁用

    .content-body.marginT10#table-box
      table.table#table-reservList
      #pager-reservList

block vendor_css
  link(rel='stylesheet', type="text/css", href="../../vendor/jqGrid/css/ui.jqgrid-bootstrap.css")

block vendor_js
  script(src="../../vendor/jqGrid/js/jquery.jqGrid.js")
  script(src="../../vendor/jqGrid/js/i18n/grid.locale-cn.js")
  script(src="../../vendor/laydate/laydate.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.min.js")

block self_js
  script(src="../../js/module/oss/list.js")

block layer

  //- 新增/修改
  .layer-box#layer-list-detail
    form.mw1200.padding20#form-list-detail(name="form-list-detail", autocomplete="off")
      .d-header
        span.text 基础设置
      .row.form-row.form-row-sm.padding20
        .col-xs-4
          .form-text 城市：
          .form-container
            select.form-control(name="city_id", disabled)
        .col-xs-4
          .form-text 用车类型：
          .form-container
            select.form-control(name="auto_type", disabled)
        .col-xs-4
          .form-text 记录状态：
          .form-container
            select.form-control(name="status", disabled)
              option(value="") 请选择
              option(value="101") 启用
              option(value="102") 禁用
      .d-header
        span.text 时段设置
    form#durationDetail.padding20
      #durationSettingForm
      .row.form-row.form-row-sm
        .col-xs-12
          .form-container
            button.btn.btn-primary#btn-addDuration(type="button")
              i.fa.fa-plus
              span 增加时段
    .text-center.marginB10
      button.btn.btn-primary.marginR10#duration-save.hide(type="button")
        i.fa.fa-save
        span 保存
    .text-center.marginB10
      button.btn.btn-primary.marginR10#duration-edit.hide(type="button")
        i.fa.fa-save
        span 修改
